package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ZhiTanNoticeVO {

    @ApiModelProperty("公告id")
    @JsonProperty("id")
    private Integer id;

    @ApiModelProperty("标题")
    @JsonProperty("title")
    private String title;

    @ApiModelProperty("内容")
    @JsonProperty("content")
    private String content;

    @ApiModelProperty("发表时间")
    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonProperty("time")
    private Date time;

    @ApiModelProperty("公告封面图片")
    @JsonProperty("img_url")
    private String imgUrl;

    @ApiModelProperty("公告查看链接")
    @JsonProperty("url")
    private String url;
    
}
